package com.aspose.cells.a.d;

import com.aspose.cells.Color;

public class zec extends zee {
   private com.aspose.cells.b.a.b.a.zg d;
   private static byte[] e = com.aspose.cells.a.c.zv.d();

   private zec() {
   }

   public zec(com.aspose.cells.b.a.b.a.zg var1) {
      this.d = var1;
      this.h();
   }

   private void h() {
      this.a = new byte[8];
      System.arraycopy(e, this.d.d() * 8, this.a, 0, 8);
      this.c = new Color[2];
      this.c[0] = this.d.b();
      this.c[1] = this.d.c();
      if (this.f()) {
         this.b = new byte[64];

         for(int var1 = 0; var1 < 8; ++var1) {
            for(int var2 = 0; var2 < 8; ++var2) {
               int var3 = (this.a[var1] & 255 & 128 >> var2) > 0 ? 1 : 0;
               this.b[var2 + var1 * 8] = this.c[var3].getA();
            }
         }
      } else {
         this.b = new byte[0];
      }

   }

   public com.aspose.cells.b.a.b.zj a() {
      return null;
   }

   public int b() {
      return 8;
   }

   public int c() {
      return 8;
   }

   public int d() {
      return 1;
   }

   public zdg e() {
      return zdg.c();
   }

   public boolean f() {
      return (this.d.b().getA() & 255) < 255 || (this.d.c().getA() & 255) < 255;
   }

   public boolean g() {
      return !this.f();
   }
}
